package com.iteheima.domain;
/*
地铁站（地铁站编号，地铁站名称，所属路线）
s3002,南锣鼓巷,6号线
s5016,王府井,1号线
s2026,西直门,4号线
 */
public class Subway {
    private String subwayId;
    private String subwayName;
    private String subwayLine;

    @Override
    public String toString() {
        return "地铁站信息{" +
                "铁站编号='" + subwayId + '\'' +
                ", 地铁站名称='" + subwayName + '\'' +
                ", 所属路线='" + subwayLine + '\'' +
                '}';
    }

    public String getSubwayId() {
        return subwayId;
    }

    public void setSubwayId(String subwayId) {
        this.subwayId = subwayId;
    }

    public String getSubwayName() {
        return subwayName;
    }

    public void setSubwayName(String subwayName) {
        this.subwayName = subwayName;
    }

    public String getSubwayLine() {
        return subwayLine;
    }

    public void setSubwayLine(String subwayLine) {
        this.subwayLine = subwayLine;
    }

    public Subway(String subwayId, String subwayName, String subwayLine) {

        this.subwayId = subwayId;
        this.subwayName = subwayName;
        this.subwayLine = subwayLine;
    }

    public Subway() {

    }
}
